<template>
	<view class="main-container">
		<view class="s-p-t">
			容器 
		</view>
			
		<view class="s-p-h" @click="naviTo('view')"><text>视图 view</text></view>
		<view class="s-p-h" @click="naviTo('scoll')"><text>滚动视图 scroll-view</text></view>
		<view class="s-p-h" @click="naviTo('swiper')"><text>可滑动视图 swiper</text></view>

	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			naviTo(e){
				uni.navigateTo({
					url: "/pages/components/" + e + "/" + e
				})
			}
		}
	}
</script>

<style>
@import '../../../static/css/smart.css';
</style>
